package com.company.cloud.acct.modules.sdk.bankfour.enums;

import com.company.cloud.common.constant.ReturnCodeEnum;

public enum ApiCallReturnCodeEnum implements ReturnCodeEnum {
    OK("200","一致"),
    FAIL("401","不一致"),
    NAME_Error("402","验证码错误"),
    IDCARD_Error("403","验证码错误"),
    CHECK_Error("300","无法验证"),
    ;

    private String code;
    private String msg;

    private ApiCallReturnCodeEnum() {
    }

    ApiCallReturnCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
